package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 病例基本信息对象 case_personal_info
 * 
 * @author ruoyi
 * @date 2022-04-03
 */
public class CasePersonalInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 病例ID */
    @Excel(name = "病例ID")
    private Long caseId;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private Long idType;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String cardId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private Long gender;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 病例类型 */
    @Excel(name = "病例类型")
    private Long type;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String tel;

    /** 职业 */
    @Excel(name = "职业")
    private Long job;

    /** 出生日期 */
    @Excel(name = "出生日期")
    private String birthDate;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String address;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String addressDetail;

    /** 身高 */
    @Excel(name = "身高")
    private BigDecimal height;

    /** 体重 */
    @Excel(name = "体重")
    private BigDecimal weight;

    /** 二维码地址 */
    @Excel(name = "二维码地址")
    private String qrCode;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String alternateField;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCaseId(Long caseId) 
    {
        this.caseId = caseId;
    }

    public Long getCaseId() 
    {
        return caseId;
    }
    public void setIdType(Long idType) 
    {
        this.idType = idType;
    }

    public Long getIdType() 
    {
        return idType;
    }
    public void setCardId(String cardId) 
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setJob(Long job) 
    {
        this.job = job;
    }

    public Long getJob() 
    {
        return job;
    }
    public void setBirthDate(String birthDate) 
    {
        this.birthDate = birthDate;
    }

    public String getBirthDate() 
    {
        return birthDate;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setAddressDetail(String addressDetail) 
    {
        this.addressDetail = addressDetail;
    }

    public String getAddressDetail() 
    {
        return addressDetail;
    }
    public void setHeight(BigDecimal height) 
    {
        this.height = height;
    }

    public BigDecimal getHeight() 
    {
        return height;
    }
    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }
    public void setQrCode(String qrCode) 
    {
        this.qrCode = qrCode;
    }

    public String getQrCode() 
    {
        return qrCode;
    }
    public void setAlternateField(String alternateField) 
    {
        this.alternateField = alternateField;
    }

    public String getAlternateField() 
    {
        return alternateField;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("caseId", getCaseId())
            .append("idType", getIdType())
            .append("cardId", getCardId())
            .append("name", getName())
            .append("gender", getGender())
            .append("age", getAge())
            .append("type", getType())
            .append("tel", getTel())
            .append("job", getJob())
            .append("birthDate", getBirthDate())
            .append("address", getAddress())
            .append("addressDetail", getAddressDetail())
            .append("height", getHeight())
            .append("weight", getWeight())
            .append("qrCode", getQrCode())
            .append("alternateField", getAlternateField())
            .toString();
    }
}
